/* common style */
/* 清楚浮动 */
.clearfix { 
    *zoom: 1; 
} 
.clearfix:before, 
.clearfix:after { 
    display: table; 
    line-height: 0; 
    content: ""; 
}
.clearfix:after { 
    clear: both; 
}


/*  渐变分割线 (默认底边)*/
.split-horizontal {
    position: relative;
}
.split-horizontal:before,
.split-horizontal:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 1px;
    background: -webkit-gradient(linear, 0 50%, 100% 50%, color-stop(0, transparent), color-stop(50%, rgba(255, 255, 255, 0.5)), color-stop(100%, transparent));
    background: linear-gradient(to right, transparent 0, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
}
.split-horizontal-top:before {
    top: 0;
}
.split-horizontal-bottom:after {
    bottom: 0;
}

.flat-button {
    display: block;
    width: 60%;
    margin: 0 auto;
    margin-top: 2em;
    padding: 5px 0;
    background-color: rgba(255,255,255,.2);
    color: #fff;
    text-align: center;
}

/* 多行文字缩略 */
.line-clamp {
    display: -webkit-box;
    white-space: normal !important;
    overflow : hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}